<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/12/2
  Time: 14:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>九九乘法表</title>
    <style>
        table{
            border-collapse: collapse;
        }
        table tr td{
            border: 1px solid #ccc;
        }
    </style>
</head>
<body>
<%--    在jsp页面上输出九九乘法口诀表--%>
<table width="600">
    <%for(int i = 1 ; i <=9 ; i++){%>
        <tr>
            <%for(int j = 1 ; j <= i ; j++){%>
                <td>
                  <%=(j+"*"+i + "=")+(j*i)%>
                </td>
            <%}%>
        <tr/>
    <%}%>
</table>


</body>
</html>
